package springstudy.javaBean;

public class User {
	private String name;
	private UserBean userBean;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public UserBean getUserBean() {
		return userBean;
	}

	public void setUserBean(UserBean userBean) {
		this.userBean = userBean;
	}

	public String toString(){
		return "user name:"+name+" userbean:"+userBean;
	}
}
